<?php

/**
 * BlogPost form.
 *
 * @package    probolnici
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class BlogPostForm extends BaseBlogPostForm
{
  public function configure()
  {
    unset($this['updated_at'], $this['created_at']);
    
    $this->widgetSchema['text'] = new sfWidgetFormTextarea();
    
    $this->widgetSchema->setLabels(array(
        'title'=>'Title',
        'meta_k'=>'Keywords',
        'meta_d'=>'MetaDescription',
        'header'=>'Заголовок',
        'text'=>'Текст',
        'category_id'=>'Раздел'
    ));
  }
}